<%@ page import="com.macrosolution.exdebito.Perito" %>
<!DOCTYPE html>
<html>

<head>
	<meta name="layout" content="kickstart" />
	<g:set var="entityName" value="${message(code: 'perito.label', default: 'Perito')}" />
	<title>Dettagli Perito</title>
	<script type="text/javascript" >
$(document).ready(function(){
	$(".select2-hidden-accessible").hide();
   	$(':input').attr('readonly','readonly');
	$(':radio,:checkbox').click(function(){
	    return false;
	});
	$('.select2-chosen').click(function(){
	    return false;
	});
	$('select').prop('disabled', 'disabled');
	$( ".btn-open-folder" ).removeClass('disabled');
});
</script>
</head>

<body>
	<section id="create-perito" class="first">
		<!-- RIBBON-->
<div id="ribbon">
	<div class="col-lg-5">
		<ol class="breadcrumb">
			<li>Perito</li><li>Dettagli</li>
		</ol>
	</div>
</div>
<!-- END RIBBON -->		
		<div class="row">
		</br></br>
			<div align="center" class="row col-lg-6 col-md-offset-3">
				<div class="form-group">
					</br></br>
					<g:render template="form"/>
				</div>
			</div>			
			<div align="center" class="row col-lg-12">
				<div class="form-group" align="center" >
					<div class="form-actions margin-top-medium" align="center">
	<sec:ifAnyGranted roles="ROLE_ADMIN,ROLE_AMM">	
						<input type="button" name="interviewList" value="Lista Periti"
								onClick="location.href='${createLink(controller:'perito',action:'list') }'" class="btn btn-md btn-primary"> &nbsp;&nbsp;&nbsp;
	</sec:ifAnyGranted>
				<g:if test="${params.lp?.equals("true")}">
						<input type="button" name="interviewList" value="Ritorna in Lista Pratiche" 
								onClick="location.href='${createLink(controller:'pratica',action:'list') }'" class="btn btn-md btn-primary">
				</g:if>
					</div>
				</div>
			</div>
		</div>
<br><br><br><br><br>
	</section>

</body>
</html>